﻿<Window x:Class="WTwitter.View.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:app="clr-namespace:WTwitter"
	xmlns:vm="clr-namespace:WTwitter.ViewModel"
	xmlns:vw="clr-namespace:WTwitter.View"
	xmlns:util="clr-namespace:WTwitter.ViewModel.Utility"
	xmlns:CompModel="clr-namespace:System.ComponentModel;assembly=WindowsBase"
    Title="{x:Static app:AppInfo.AppName}" Style="{DynamicResource DesignedWindowStyle}"
	ResizeMode="CanResizeWithGrip"
	MouseLeftButtonDown="Window_MouseLeftButtonDown">
	<Window.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="MainWindowTemplates.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Window.Resources>
	
	<!--アプリケーションのメインウィンドウ-->
	<Grid>
		<!--ステータスバー-->
		<!--
		<ContentPresenter Content="{Binding Path=StatusBar}" DockPanel.Dock="Bottom"/>
		-->
		
		<!--メインのタイムライン表示部分-->
		<TabControl x:Name="timelines" ItemsSource="{Binding Path=TimelinesViewSource.View}" Background="Transparent"
					ItemTemplate="{StaticResource HeaderTemplate}" ItemContainerStyle="{DynamicResource DesignedTabItemStyle}"
					ContentTemplate="{DynamicResource TimelineTemplate}" Style="{DynamicResource DesignedTabControlStyle}">
		</TabControl>
		
		<ResizeGrip HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="3" Height="3" />
	</Grid>
</Window>
